package com.hc.controller;

import com.hc.service.QcEquipmentService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("incubator")
public class IncubatorController {

    @Autowired
    private QcEquipmentService qcEquipmentService;



    @GetMapping("/snapshotTest")
    @ApiOperation("测试培养箱每日数据生成快照逻辑")
    public void snapshotTest(@RequestParam("date") String date){
        qcEquipmentService.snapshotTest(date);
    }


}
